home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.6 KB | 74 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="4"
- "UIPATH"="Internet\Instant Messaging\GOOEY"
- "NAME"="Proxy Settings"
- "LANGUAGE"="VBScript"
- "VERSION"="1.04"
- "TEXT 1"="Proxy URL"
- "TEXT 2"="Proxy Port"
- "TEXT 3"="Proxy User"
- "TEXT 4"="Proxy Password"
- "DESCRIPTION 1"="You can use this plug-in to change the proxy options for GOOEY."
- "DESCRIPTION 2"="NOTE: In order to apply these changes, you need to activate "Enable Proxy Server" option inside "GOOEY General Options"."
- "DESCRIPTION 3"="Gooey may be obtained at http://www.gooey.com/"
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
-
-
- sPath="HKEY_CURRENT_USER\Software\Hypernix\Gooey\Network\"
- sV1="ProxyServer"
- sV2="PortNumber"
- sV3="ProxyUserName"
- sV4="ProxyUserPassword"
-
- Sub Plugin_Initialize
- if RegPathExists(sPath) then
- s=RegReadValue(sPath & sV1)
- SetUIElement 1,s
-
- s=RegReadValue(sPath & sV2)
- SetUIElement 2,s
-
- s=RegReadValue(sPath & sV3)
- SetUIElement 3,s
-
- s=RegReadValue(sPath & sV4)
- SetUIElement 4,s
-
- else
- Disable
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(sPath & sV1,s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(sPath & sV2,s,1)
-
- s=GetUIElement(3)
- Call RegWriteValue(sPath & sV3,s,1)
-
- s=GetUIElement(4)
- Call RegWriteValue(sPath & sV4,s,1)
-
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-